class A{
    private String code;
    private Sting name;

    private static void main(String []args){
        System.out.println("123");
    }
}



interface Factory{

   Object getBean(String className){

   }
}

//Class AFactory implements Factory{
//    private Object a;
//
//    @Override
//    Object getBean(String className){
//        return a;
//    }
//
//    private static void main(String []args){
//        System.out.println("123");
//    }
//}